package math2;

import org.junit.Test;

import fem2.Debugger;

public class MathUtilitiesTest {

	@Test
	public void test() {
		double[] d = new double[] { 1.7, -0.3, 2.1, 0.5 };
		int[] i = MathUtilities.sort(d, false);
		Debugger.watch("", i);

		i = MathUtilities.sort(d, true);
		Debugger.watch("", i);
	}

	@Test
	public void testAtan2() {
		Debugger.watch(Math.atan2(2, 2));
	}

}
